.f-imgcontainer-in-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.f-imgcontainer-in-form img {
    max-width: 100%;
    max-height: 100%;
    align-self: center;
}